<?php
class About extends MY_Controller{
    public function __construct() {
        parent::__construct();
        $this->load->model('mabout');
        $this->load->library("pager");
    }
    public function index(){
		$id = $this->uri->segment(1);
		$data['result'] = $this->mabout->getdata($id);
		if($data['result'] == NULL){
			redirect(base_url());
		}
		//$this->debug($data['result']);
		$data['act'] = 2;
		$data['title'] = $data['result']['in_name'];
        $this->load->view('about/layout',$data);
    }
}
?>